<template>
  <el-container>
    <el-main>
      <el-button type="primary" @click="rebuildSystemCache">重建缓存</el-button>
      <el-button type="primary" @click="showLicence">查看授权</el-button>

      <licence ref="licence" />
    </el-main>
  </el-container>
</template>

<script>
import licence from './licence'
export default {

  components: { licence },

  data() {
    return {

    }
  },
  methods: {
    rebuildSystemCache() {
      this.$api.system.systemManage.rebuildSystemCache()
    },
    showLicence() {
      this.$refs.licence.show()
    }

  }
}
</script>

<style lang="scss" scoped>
</style>
